package com.zhdl.modules.common.protocol_self.service;

import com.project.common.service.BaseService;
import com.zhdl.modules.common.protocol_self.entity.ProtocolDemo;

import java.util.List;

public interface ProtocolDemoService extends BaseService<ProtocolDemo, Integer> {

    ProtocolDemo addProtocol(ProtocolDemo protocolDemo);

    ProtocolDemo updateProtocol(ProtocolDemo protocolDemo);

    void deleteProtocol(Integer id);

    ProtocolDemo findByIdProtocol(Integer id);

    List<ProtocolDemo> findAllProtocol();
}
